#pragma once

extern void gayle_reset(int);
extern void gayle_hsync();
extern int gayle_add_ide_unit(int ch, const TCHAR* path, int blocksize,
    const TCHAR* devname, int sectors, int surfaces, int reserved,
    int bootpri);
extern int gayle_modify_pcmcia_sram_unit(const TCHAR* path, int readonly, int insert);
extern int gayle_add_pcmcia_sram_unit(const TCHAR* path, int readonly);
extern void gayle_free_units();
extern void rethink_gayle();
extern void gayle_map_pcmcia();

void gayle_free();

#define PCMCIA_COMMON_START 0x600000
#define PCMCIA_COMMON_SIZE 0x400000